package com.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.food.configure.Result;
import com.food.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 服务类
 * </p>
 */
public interface LoginService extends IService<User> {

    Result<User> login(User user, HttpServletRequest request);

    Result<User> logout(HttpServletRequest request);

}
